package com.kui.service;

import java.util.List;

import com.kui.dao.TypeDao;
import com.kui.entity.Type;

public class TypeService {
	
	TypeDao dao = new TypeDao();

	public Type findById(String bianhao,String qikan) {
		return dao.findById(bianhao,qikan);
	}

	public void save(Type tt) {
		dao.save(tt);
		
	}

	public List<Type> findByQikanId(String value) {
		return dao.findByQikanId(value);
	}

	public List<Type> findAll() {
		return dao.findAll();
	}
}
